<template>
<div class="weui-tabbar">
    <router-link to="/course" class="weui-tabbar__item">
        <span style="">
            <img src="" alt="" class="weui-tabbar__icon">
            <span class="weui-badge" style="">8</span>
        </span>
        <p class="weui-tabbar__label">课程表</p>
    </router-link>
    <router-link to="/attendance" class="weui-tabbar__item">
        <img src="" alt="" class="weui-tabbar__icon">
        <p class="weui-tabbar__label">考勤</p>
    </router-link>

    <router-link to="/achievement" class="weui-tabbar__item">
        <img src="" alt="" class="weui-tabbar__icon">
        <p class="weui-tabbar__label">成绩</p>
    </router-link>
</div>
</template>

<style lang="less">
body {
  font-family: Helvetica, sans-serif;
}
.router-link-active .weui-tabbar__label{
  color: red;
}
</style>